import request from '@/utils/request'

// 查询调查列表列表
export function listSurveyList(query, userkey) {
    return request({
        url: `/surveygetpoms/list/${userkey}`, // 使用反引号来包含变量
        method: 'get',
        params: query
    });
}


export function getSurveyUrl(surveyTitle, surveyIp, username) {
    return request({
        url: `/surveygetpoms/questGoTo/${surveyTitle}/${surveyIp}/${username}`,
        method: "get"
    });
}